<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
      .gold {
        background-color: gold;
      }
      .green {
        background-color: rgb(107, 198, 152);
      }
      .circle {
        width: 100px;
        height: 100px;
        border-radius: 50%;
      }
      .cat {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    </style>
    <title></title>
  </head>
  <body>
    <div id="app">
      <div :class="obj"></div>
      <div :class="arr">🐱</div>
    </div>
    <script src="./vue.js"></script>
    <script>
      const vm = new Vue({
        el: "#app",
        data: {
          obj: {
            green: true,
            circle: true,
          },
          arr: ["gold", "cat", "circle"],
        },
        methods: {},
      });
    </script>
  </body>
</html>
